﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CILADA.TestAssemblyTwo.SubTypeKnowledge
{
    class TATSuperType
    {
        int ValueA { get; set; }
        public TATSubType SubType { get; set; }

        public TATSuperType()
        {
            SubType = new TATSubType("Ignorant");
            Console.WriteLine(GetSubTypeName());
        }

        private string GetSubTypeName(){
            return "SubType.Name="+this.SubType.Name;
        }
    }

    class TATSubType : TATSuperType
    {
        public string Name {get;set;}

        public TATSubType(string name){
            Name = name;
        }
    }
}
